package com.lujieni.dao;

import com.lujieni.domain.vo.WorkerDTO;
import com.lujieni.mybatis.basedao.BaseDao;
import com.lujieni.domain.po.WorkerPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkerDao extends BaseDao<WorkerPO> {


    List<WorkerDTO> getWorkerByName(@Param("name") String name);

    void batchInsert(@Param("list") List<WorkerPO> list);
}
